package cclub.demo.controller.interview;

import cclub.demo.pojo.DO.interviewDO;
import cclub.demo.pojo.AO.interview.interviewForm;
import cclub.demo.pojo.AO.interview.queryOptionForm;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.validation.Valid;
import java.util.List;
import java.util.Map;

@RestController
@Slf4j
@RequestMapping("/interview")
@RequiredArgsConstructor
public class InterviewController {

    //新增面试
    @RequestMapping("/saveInterview")
    public Map saveInterview(@RequestBody @Valid interviewForm interviewForm){
        interviewDO interviewDO = new interviewDO();
        System.out.println(interviewForm);
        return null;
    }

    //删除面试
    @RequestMapping("/deleteInterview")
    public Map deleteInterview(){
        return null;
    }

    //查询面试
    @RequestMapping("/queryInterviewList")
    public List queryInterviewList(queryOptionForm queryOptionVO){
        return null;
    }
}
